<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<style>

    .layui-upload-colse {
        position: relative;
    }

    .closeUpload {
        position: absolute;
        top: 0;
        right: 0;
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

    .upImg {
        width: 80px;
        height: 80px;
    }

    .formfixed {
        position: relative;
    }

    .remove {
        position: absolute;
        top: 125%;
        right: -175px;
        transform: translateY(-50%);
        cursor: pointer;
    }

    .myheader {
        height: 140px;
        background-color: #FFFFFF;
        padding: 20px 0;
        display: flex;
        align-items: center;
        margin: 0;
        flex-wrap: wrap;
    }

    .layui-tab {

        overflow: auto;
        background-color: #FFFFFF;
        margin: 10px 0 0 0;
    }

    .layui-input-block1 {
        display: flex;
        align-items: center;
        justify-content: flex-start
    }

    .layui-tab-title {
        height: 40px !important;
    }

    .layui-tab-content {
        height: calc(100% - 55px);
        overflow: auto;
    }

    .layui-disabled, .layui-disabled:hover {
        color: #000 !important;
        cursor: not-allowed !important;
    }
</style>
<body>
<input id="userId" th:value="${userId}" style="display: none">
<input id="infoType" th:value="${infoType}" style="display: none">
<div class="layui-fluid mt2" style="background-color: #f0f2f5">
    <form class="layui-form" style="height: 100%;">


        <div class="layui-form-item">
            <label class="layui-form-label required">评论名称</label>
            <div class="layui-input-block">
                <input type="text" name="commentTypeName" lay-verify="required" autocomplete="off" placeholder="请输入"
                       th:value="${infoType=='edit'?myData?.commentTypeName:''}"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">标签状态</label>
            <div class="layui-input-block">
                <input type="checkbox" name="status"
                       th:checked="${infoType=='edit'?(myData?.status==0):''}"
                       title="启用|禁用" lay-skin="switch" lay-verify="required"  lay-filter="switchTest">

            </div>
        </div>


        <div class="layui-form-item  layui-flow-more">
            <div class="layui-inline">
                <button type="button" class="layui-btn" lay-submit lay-filter="submit">确定</button>
            </div>
        </div>

    </form>
</div>

<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/xmSelect.js"></script>
<script type="text/javascript" src="/js/webJs/jzweb/evaluationClassification/add.js"></script>
</body>
</html>